<?php

include ('top.ajax.php');
if (isset($_POST['photo_id'])){
	$foto=new PhotoProduct($_POST['photo_id']);
	$foto->load();
	$foto->delete();
	$foto->save();
}

?>